home *** CD-ROM | disk | FTP | other *** search
/ Aminet 52 / Aminet 52 (2002)(GTI - Schatztruhe)[!][Dec 2002].iso / Aminet / dev / c / Emperor.lha / Emperor / ClicktabExample.README! next >
Text File  |  2002-09-27  |  5KB  |  162 lines

  1. Für die deutsche Version, bitte weiter unten lesen....
  2.  
  3.  
  4. English:
  5.  
  6.  
  7. ad 1 (using clicktab-gadgets):
  8.  
  9. When using clicktab-gadgets you MUST create your gadget-list that way:
  10.  
  11.      ________________________________________________
  12.     |x|                                          |-|=|
  13.     |x|__________________________________________|=|=|
  14.     |  ________  ________  ________                | |
  15.     | | node 1 || node 2 || node 3 |               | |
  16.     | |________||________||________|_____________  | |
  17.     | |                                          | | |
  18.     | |  __________________  __________________  | | |
  19.     | | |                  ||                  | | | |
  20.     | | |                  ||                  | | | |
  21.     | | |     Button 1     ||     Button 2     | | | |
  22.     | | |                  ||                  | | | |
  23.     | | |__________________||__________________| | | |
  24.     | |                                          | | |
  25.     | |__________________________________________| | |
  26.     |                                              |_|
  27.     |______________________________________________|x|
  28.  
  29.  
  30.         Clicktab
  31.         |
  32.         +- vertical Page1
  33.            |
  34.            +- horizontal Page2
  35.            |  |
  36.            |  +- Button1
  37.            |  +- Button2
  38.            |  |
  39.            +- vertical Page3
  40.            |  |
  41.            |  +- Integer1
  42.            |  +- Integer2
  43.            |  |
  44.            +- horizontal Page4
  45.               |
  46.               +- Listbrowser1
  47.               +- Listbrowser2
  48.  
  49.  
  50. You can generate a "Page" by taking a layout-gadget and turn it into "PageMode"
  51. in the attributes-window.
  52.  
  53. PAY ATTENTION ! Don't forget the first page-gadget below the clicktab !!!!
  54.  
  55.  
  56. ad 2 (using images):
  57.  
  58. Images are special gadgets, which contains e.g. picture informations or system glyphs.
  59. If you want to integrate such an image, you have to pay attention that the image is
  60. derive from the corresponding gadget or you have to assign the image via connecting
  61. within the attributes-window. But be careful ! You only have got possibilities to
  62. derive an image from a button, a layout or a slider gadget !!!
  63.  
  64. An example may looks like that:
  65.  
  66.         horizontal Layout1
  67.         |
  68.         +- vertical Layout2
  69.         |  |
  70.         |  +- Bitmap1
  71.         |  |
  72.         +- vertical Layout3
  73.            |
  74.            +- Button1
  75.            |  |
  76.            |  +- Glyph1
  77.            |  |
  78.            +- Slider1
  79.               |
  80.               +- Bitmap2
  81.  
  82.  
  83.  
  84. Deutsch:
  85.  
  86.  
  87. ad 1 (Benutzung von Clicktab-Gadgets):
  88.  
  89. Falls Clicktab-Gadgets benutzt werden sollen, MUSS die Gadget-Liste in etwa so aussehen:
  90.  
  91.      ________________________________________________
  92.     |x|                                          |-|=|
  93.     |x|__________________________________________|=|=|
  94.     |  ________  ________  ________                | |
  95.     | | node 1 || node 2 || node 3 |               | |
  96.     | |________||________||________|_____________  | |
  97.     | |                                          | | |
  98.     | |  __________________  __________________  | | |
  99.     | | |                  ||                  | | | |
  100.     | | |                  ||                  | | | |
  101.     | | |     Button 1     ||     Button 2     | | | |
  102.     | | |                  ||                  | | | |
  103.     | | |__________________||__________________| | | |
  104.     | |                                          | | |
  105.     | |__________________________________________| | |
  106.     |                                              |_|
  107.     |______________________________________________|x|
  108.  
  109.  
  110.         Clicktab
  111.         |
  112.         +- vertical Page1
  113.            |
  114.            +- horizontal Page2
  115.            |  |
  116.            |  +- Button1
  117.            |  +- Button2
  118.            |  |
  119.            +- vertical Page3
  120.            |  |
  121.            |  +- Integer1
  122.            |  +- Integer2
  123.            |  |
  124.            +- horizontal Page4
  125.               |
  126.               +- Listbrowser1
  127.               +- Listbrowser2
  128.  
  129.  
  130. "Pages" werden generiert, indem ein Layout-Gadget in den "PageMode" versetzt wird.
  131. (Attribut-Fenster)
  132.  
  133. ACHTUNG ! Niemals das erste Page-Gadget unter dem Clicktab vergessen !!!!
  134.  
  135.  
  136. ad 2 (Einbinden von Images):
  137.  
  138. Images sind spezielle Gadgets, die Bildinformationen (geladene Bilder, Systemgadgets etc.)
  139. enthalten. Möchten Sie ein solches Image auch in Ihr Programm integrieren, sollten Sie
  140. darauf achten, daß das Image vom abhängigen Gadget entweder abgeleitet ist, bzw. dem Gadget
  141. die Zuordnung via Image-Verbindung im Attributfenster erfolgt. Sie dürfen jedoch ein Image
  142. lediglich von einem Button, einem Layout oder einem Slider ableiten; alle anderen Gadgets
  143. verbieten dies !!!!
  144.  
  145. Ein Beispiel könnte etwa so aussehen:
  146.  
  147.         horizontal Layout1
  148.         |
  149.         +- vertical Layout2
  150.         |  |
  151.         |  +- Bitmap1
  152.         |  |
  153.         +- vertical Layout3
  154.            |
  155.            +- Button1
  156.            |  |
  157.            |  +- Glyph1
  158.            |  |
  159.            +- Slider1
  160.               |
  161.               +- Bitmap2
  162.